package com.future.taskdemo.config;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.TimeUnit;

public class Main {
    public static void main(String[] args) throws InterruptedException {

        List<String> list=Arrays.asList("3333","555","444");
        System.out.println(list.contains("33"));

        LinkedBlockingQueue link=new LinkedBlockingQueue();

        Object poll = link.poll(10, TimeUnit.SECONDS);
        System.out.println(poll);


    }
}
